import { Card } from "antd";

import loginUser from '@/store/loginUser'
import { observer } from "mobx-react"


function Dashboard() {
  const { name } = loginUser;

  return (
    <Card style={{ minHeight: "calc(100vh - 64px)" }}>
      <h2>首页</h2>
      <h2>用户名: {name}</h2>
    </Card>
  );
}

export default observer(Dashboard);
